// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.DesignStandardDraftDao;
import com.liuxinlong.modules.entity.DesignStandardDraft;
import com.liuxinlong.modules.mapper.DesignStandardDraftMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 类描述
 * <p>
 * 此类关联设计的功能
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2022年4月7日
 */
@Service
public class DesignStandardDraftDaoImpl extends ServiceImpl<DesignStandardDraftMapper, DesignStandardDraft>
        implements DesignStandardDraftDao {

    @Override
    public List<DesignStandardDraft> pageDraftList(Map<String, Object> queryParam) {
        return baseMapper.pageDraftList(queryParam);
    }

    @Override
    public int getDraftCount(Map<String, Object> queryParam) {
        return baseMapper.getDraftCount(queryParam);
    }


    @Override
    public Map<String, Map<String, String>> getDraftMap() {
        return baseMapper.getDraftMap();
    }

    @Override
    public List<DesignStandardDraft> getDraftList() {
        return baseMapper.getDraftList();
    }

    @Override
    public DesignStandardDraft getDraftByStandard(String standardId) {
        return baseMapper.getDraftByStandard(standardId);
    }

}
